package com.yundasys.lab08jvm.heap;

/**
 * @PACKAGE_NAME: com.yundasys.lab08jvm.heap
 * @NAME: EdenSurivorTest
 * @USER: jiangta
 * @DATE: 2021/4/15
 * @TIME: 10:47 下午
 * @PROJECT_NAME: springboot-labs
 */
public class EdenSurivorTest {

    /**
     * -Xms600m -Xmx600m
     * -XX:NewRatio=2  设置新生代与老年代的比例 默认值是2
     * -XX:SurvivorRatio=8  设置新生代中Eden区与Survivor区的比例
     *
     * @param args
     */
    public static void main(String[] args) {
        System.out.println("打酱油");
        try {
            Thread.sleep(10000000);
        } catch (Exception e) {

        }

    }
}
